﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CourseUtils;

namespace ConsoleApplication1
{
    class Program
    {         
        static void Main()
        {
            int a = IOHelpers.ReadIntFromConsole("enter number one");
            int b = IOHelpers.ReadIntFromConsole("enter number two");
            int c = IOHelpers.ReadIntFromConsole("enter number three");

            int max = 0;

            if (a >= b && a >=c)
            {
                max = a;
            }

            if (b >= a && b >= c)
            {
                max = b;
            }

            if (c >= b && c >= a)
            {
                max = c;
            }

            Console.WriteLine("biggest number is {0}", max);

            Console.ReadKey();
        }

        
    }
}
